package demo.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(description="很长很长的类注释描述")
public class StudentNormal {

	@ApiModelProperty(value="name字段的注释",
			allowableValues="3,4,5",
			required=true,	//该参数是否必填
			example="name参数值示例"	)
	private String name;
	
	@ApiModelProperty(value="age字段的注释",	example="age参数值示例")
	private Integer age;
	
	@ApiModelProperty("addr字段的注释")
	private String addr;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	public String getAddr() {
		return addr;
	}
	public void setAddr(String addr) {
		this.addr = addr;
	}
}
